package com.sbtr.open.publishtask.dto;

import com.sbtr.validate.Length;

/**
 * 发布模型请求DTO
 *
 * @author qiujun
 * @date 2019-10-30
 */
public class PublishTakReqDto {

    /**
     * 模型id
     */
    private Long modelId;

    /**
     * 任务名称
     */
    @Length(max = 100, message = "任务名称长度不能超过100")
    private String taskName;

    /**
     * 任务描述
     */
    @Length(max = 500, message = "任务描述长度不能超过500")
    private String taskDesc;

    /**
     * 创建者
     */
    private String creater;

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskDesc() {
        return taskDesc;
    }

    public void setTaskDesc(String taskDesc) {
        this.taskDesc = taskDesc;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
}
